<form class="layui-form layui-box" style='padding:25px 30px 20px 0' action="{:url()}" data-auto="true" method="post">

    {if isset($vo['id'])}<input type='hidden' value='{$vo.id}' name='id'/>{/if}

    <div class="layui-form-item">
        <label class="layui-form-label">咨询师</label>
        <div class="layui-input-block">
            <input type="text" name="name" value='{$vo.name|default=""}' class="layui-input" disabled>
        </div>
    </div>

    <div class="layui-form-item">
        <label class="layui-form-label">审核状态</label>
        <div class="layui-input-block">
            <input type="radio" name="audit" title="通过" value="1" checked>
            <input type="radio" name="audit" title="拒绝" value="2">
        </div>
    </div>

    <div class="hr-line-dashed"></div>

    <div class="layui-form-item text-center">
        {if isset($vo['id'])}<input type='hidden' value='{$vo.id}' name='id'/>{/if}
        <button class="layui-btn" type='submit'>保存数据</button>
        <button class="layui-btn layui-btn-danger" type='button' data-confirm="确定要取消编辑吗？" data-close>取消编辑</button>
    </div>

</form>

{block name='script'}
<script>
    layui.use('form', function(){
        var form = layui.form;
        form.render();
    });
</script>
{/block}